<%@ page import="au.org.ala.collectors.Person" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'person.label', default: 'Person')}" />
        <title><g:message code="default.show.label" args="[entityName]" /></title>
    </head>
    <body>

    <center>

    <h1>Australian Plant Collectors and Illustrators (A)</h1></center>

    <g:if test="${flash.message}">
    <div class="message">${flash.message}</div>
    </g:if>


    <center><font size=+1>&nbsp;1780s-2010s</font>

    <p><font size=-1>Based on the list&nbsp; published by J.H. Willis, D. Pearson,
    M.T. Davis, and J.W. Green, <i>Western Australian Herbarium Research Notes Number
    12,</i> August 1986.</font>
    <p>Please send updates, corrections and additions to: Murray Fagg ( <a href="mailto:cpbr-info@anbg.gov.au">cpbr-info@anbg.gov.au</a> )<p>Surnames (Family names) starting with: <br>
      <ci:alphaLink starts='A'/> . <ci:alphaLink starts='B'/> . <ci:alphaLink starts='C'/>
      . <ci:alphaLink starts='D'/> . <ci:alphaLink starts='E'/> . <ci:alphaLink starts='F'/>
      . <ci:alphaLink starts='G'/> . <ci:alphaLink starts='H'/> . <ci:alphaLink starts='I'/>
      . <ci:alphaLink starts='J'/> . <ci:alphaLink starts='K'/> . <ci:alphaLink starts='L'/>
      . <ci:alphaLink starts='M'/> . <ci:alphaLink starts='N'/> . <ci:alphaLink starts='O'/>
      . <ci:alphaLink starts='PQ'/> . <ci:alphaLink starts='R'/> . <ci:alphaLink starts='S'/>
      . <ci:alphaLink starts='T'/> . <ci:alphaLink starts='UV'/> . <ci:alphaLink starts='W'/>
      . <ci:alphaLink starts='XYZ'/>
    <p>

    <br clear=ALL>
    <table BORDER cellpadding=2 cellspacing="0" bordercolor="#CCCCCC" >
        <g:each in="${personInstanceList}" status="i" var="p">
            <tr valign=BOTTOM>
                <td align=LEFT>${p.familyName}, ${p.foreNames}</td>
                <td align=LEFT>${p.periodOfActivity}</td>
                <td align=LEFT>${p.areaOfInterest}</td>
                <td>${p.hasCategory('collector') ? 'C' : ''}</td>
                <td>${p.hasCategory('illustrator') ? 'I ' : ''}</td>
                <td align=LEFT>
                    <g:if test="${p.biog}">
                        <g:link action="biog" id="${p.id}">Notes</g:link>
                    </g:if>
                </td>
                <td align=LEFT>
                    <g:if test="${p.imageUri}">
                      <a href="${p.imageUri}">portrait</a>
                    </g:if>
                </td>
            </tr>
        </g:each>
    </table>
    </body>
</html>